package com.me.forum.request;

import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public final class ImageRequest extends BaseRequest {
    private String bigImg;
    private String smallImg;

    private String[] userId;

    @Override
    public Boolean isLegal() {
        return bigImg != null && !bigImg.isEmpty() &&
        smallImg != null && !smallImg.isEmpty();
    }
}
